﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0531
{
    /// <summary>
    ///  修改用户名模型
    /// </summary>
    public class InputUserName
    {
        /// <summary>
        ///  用户id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请输入发起人用户ID")]//大于0正则表达式
        public int user_id { get; set; }
        /// <summary>
        ///  用户名
        /// </summary>
        [Required(ErrorMessage = "user_name：用户名必传项！")]
        public string user_name { get; set; }
    }
}